package com.karry.yl.dao.system;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.karry.commons.base.SuperMapper;
import com.karry.yl.domain.system.Advice;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdviceMapper extends SuperMapper<Advice> {

    /**
     * 查询出院内通知以及上属部门发送的通知
     * @param page
     * @param orgId
     */
    List<Advice> selectAdvice(Page<Advice> page,@Param("orgId")Long orgId);
}
